# -*- coding: utf-8 -*-
"""
------------------------------------------------------------------------------
    File Name:  dropout_demo
    Author   :  wanwei1029
    Date     :  2018/12/24
    Desc     :
------------------------------------------------------------------------------
"""
from keras.models import Sequential
from keras.layers import Dropout


def demo():
    """
    """
    model = Sequential()
    """
    参数：rate 0至1之间，drop的比率
        
    """
    model.add(Dropout(0.2))


if __name__ == '__main__':
    test_method = "demo"
    if test_method == "demo":
        demo()
